Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create loopback aliases for inter-container communication #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jonscheiding
Copy link

I've used Dory on a Mac for awhile, and to level up its usefulness, I've configured it to respond to DNS queries with a private IP address, and configured said address as an alias for the loopback interface. This allows containers to communicate with each other - even if they're on a bridge network - using the same names that I use to talk to them from the host, which can simplify a lot of situations.

I thought it might be nice to have Dory handle this itself, it seems within the scope of what a development proxy would do.

If interested in this PR I can look into how to support it on Linux.

(Also included is a configuration option to keep the containers running across Docker/computer restarts)

@jonscheiding
Copy link
Author

@FreedomBen 👋 any interest in this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant